package com.shadow.beanFactoryPostProcessor.test;

import com.shadow.beanFactoryPostProcessor.test.bean.A;
import com.shadow.beanFactoryPostProcessor.test.beanNameGenerator.MyBeanNameGenerator;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author VernHe
 * @date 2021年09月15日 14:36
 */
@Configuration
@ComponentScan(value = "com.shadow.beanFactoryPostProcessor.test.bean")
@Slf4j(topic = "vernhe")
public class Config {

	class innerClass {
		@Bean
		public A getA() {
			System.out.println("内部类被处理了");
			return new A();
		}
	}
}
